package cn.bdqn.xtxg.oof;

public final class Dog extends epetshop {

	public String getStrain() {
		return strain;
	}

	public void setStrain(String strain) {
		this.strain = strain;
	}
	private String strain;
	public Dog(int health,int love) {
		this.setHealth(health);
		this.setLove(love);
	}
	public void print() {
			System.out.println("宠物的自白:");
			System.out.println("我的名字是:"+this.getName()+",我的健康值是:"+this.getHealth()+",我跟主人的亲密度是:"+this.getLove()+",我的品种是："+this.strain);
	}
	public void eat() {
		System.out.println("狗吃了狗粮,健康值+10");
	}
	public void catchingFlyDic() {
		System.out.println("狗狗玩起了飞盘游戏,健康值-2,与主人的亲密度+10");
	}

}
